package com.git.hui.yinshua.api.model;

import lombok.Getter;


/**
 * @author YiHui
 * @date 2024/6/7
 */
public class BizException extends RuntimeException {

    @Getter
    private int code;

    public BizException(int code, String message) {
        super(message);
        this.code = code;
    }

    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}
